package study.nosql.redis.consumer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.BoundSetOperations;

import javax.annotation.PostConstruct;

public class SetQueConsumer {

    @Autowired
    private BoundSetOperations<String, String> setQueue;

    @PostConstruct
    public void init() {
        //任务和任务执行耦合
    }
}
